package com.tequila.core.service;

import com.tequila.domain.dto.AppResourcesDto;
import com.tequila.domain.entity.AppResources;
import com.tequila.domain.query.AppResourcesQuery;

import fe.core.Pagination;

import java.util.List;

public interface AppResourcesService {

    public Pagination<AppResourcesDto> queryPageListByParam(AppResourcesQuery query);

    public AppResourcesDto queryById(Long id);

    public List<AppResourcesDto> queryByIdList(List<Long> idList);

    public List<AppResourcesDto> queryListByParam(AppResourcesQuery query);

    public Long insert(AppResources entity);

    public Long save(AppResources entity);

    public int updateById(AppResources param);

    public int updateSelectiveById(AppResources param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
